<div class="title">
	<span>Add admin</span>
	<div class="clear">&nbsp;</div>
</div>
<div class="margin">
<?php flash(); //display flash data ?>
<?php echo form_open('admin/add_admin'); ?>
<div class="input-block">
	<?php f_input('username');?>
</div>
<div class="input-block">
	<?php f_input('password', '', 'password');?>
</div>
<?php echo form_hidden('usertype', 'admin');?>
<?php echo form_submit(array('name' => 'add_admin', 'value' => 'Add admin', 'class' => 'fbtn add'));?>
<?php echo form_close();?>
<a href="<?php echo site_url('admin/admin_users/')?>" class="back-btn"><span>Back</span></a>
</div>